import request from '@/utils/request'

// 获取角色列表
export const getRoleList = (params) => request({
  url: '/sys/role',
  params
})

// 获取公司信息
export const companyInfo = id => request({
  url: `/company/${id}`
})

// 删除角色
export const delRole = id => request({
  url: `/sys/role/${id}`
})

